package com.lehoon.tomato.service.impl;

import com.lehoon.tomato.model.City;
import com.lehoon.tomato.mapper.CityMapper;
import com.lehoon.tomato.service.CityService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  城市服务实现类
 * </p>
 *
 * @author wang
 * @since 2020-09-23
 */
@Service
public class CityServiceImpl implements CityService {

    @Resource
    private CityMapper cityMapper;
    @Override
    public List<City> getCityList() {
        return cityMapper.getCityList();
    }
}
